package com.kfm.mapper;

import com.kfm.model.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ISysUserMapper {

    SysUser selectById(String id);

    List<SysUser> selectAll();

    List<SysUser> selectWithAccount();

    List<SysUser> selectWithAccount2();

    SysUser selectWithAccountByUserId(String userId);

    SysUser selectByUsernameAndPassword(@Param("username") String username, @Param("password")String password);
}
